package com.guodi.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @描述：指标、模型关联图层信息表
 * @作者: 汤厚韬
 * @日期: 2021-1-11
 */
@Data
@ApiModel(value="指标、模型关联图层信息表")
public class IdtModelLayer implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    private String id;

    //@ApiModelProperty(value = "关联的指标或模型的主键")
    //private String idtModelId;

    @ApiModelProperty(value = "关联的指标或模型类型（0：指标；1：模型）")
    private Integer idtModelType;

    @ApiModelProperty(value = "关联图层的主键")
    private String layerId;

    @ApiModelProperty(value = "关联图层的名称")
    private String layerName;

    @ApiModelProperty(value = "数据类型（0：目录；1：图层）")
    private Integer dataType;

    @ApiModelProperty(value = "上级节点主键或关联的指标或模型的主键")
    private String parentId;

    @ApiModelProperty(value = "图层透明度")
    private String layerAlpha;

    @ApiModelProperty(value = "是否启用（0：是，1：否）")
    private Integer isUsing;

    @ApiModelProperty(value = "显示顺序")
    private Integer sort;

    @ApiModelProperty(value = "别名")
    private String alias;

    @ApiModelProperty(value = "指标、模型体系的主键")
    private String systemId;

    @ApiModelProperty(value = "创建人")
    private String creator;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改人")
    private String modifier;

    @ApiModelProperty(value = "修改时间")
    private Date modifyTime;

    @ApiModelProperty(value = "图层服务地址")
    @TableField(exist = false)
    private String layerUrl;

    @ApiModelProperty(value = "行政区划编号")
    private String divisionCode;
}
